package com.xiaoshuidi.cloud.module.rooms.api.roomentrust;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.rooms.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = ApiConstants.SERVERNAME)
@Tag(name = "RPC接口 - 委托相关接口")
public interface RoomEntrustApi {
    String PREFIX = ApiConstants.PREFIX + "/roomEntrust";

    @Operation(summary = "未完成的委托数量")
    @GetMapping(PREFIX + "to-be-continued-entrust-num")
    public CommonResult<Long> toBeContinuedEntrustNum();

}
